package com.yunji.ylexpiration.mapper;

import com.yunji.ylexpiration.entity.FurnVarietys;
import com.yunji.ylexpiration.entity.FurnVarietysExample;
import java.util.List;

import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;
import org.springframework.stereotype.Repository;

@Mapper
@Repository
public interface FurnVarietysMapper {
    int countByExample(FurnVarietysExample example);

    int deleteByExample(FurnVarietysExample example);

    int deleteByPrimaryKey(Integer id);

    int insert(FurnVarietys record);

    int insertSelective(FurnVarietys record);

    List<FurnVarietys> selectByExample(FurnVarietysExample example);

    FurnVarietys selectByPrimaryKey(Integer id);

    int updateByExampleSelective(@Param("record") FurnVarietys record, @Param("example") FurnVarietysExample example);

    int updateByExample(@Param("record") FurnVarietys record, @Param("example") FurnVarietysExample example);

    int updateByPrimaryKeySelective(FurnVarietys record);

    int updateByPrimaryKey(FurnVarietys record);
}